.mask{
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.suspended_window{
    max-height: 90%;
    min-height: 200px;
    min-width: 500px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    display: flex;
    transition: all 0.3s;
    opacity: 0;
    flex-direction: column;
}
.header, .content, .footer{
    padding: 10px 25px 10px 15px;
}
.header{
    display: flex;
    justify-content: space-between;
}
.content{
    height: 100%;
    flex: 1;
}
.popup_close{
    position: absolute;
    top: 6px;
    right: 10px;
    padding: 0;
    width: 34px;
    height: 34px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    background: transparent;
    border-radius: 50%;
    line-height: 10px;
    transition: background-color 0.3s;

}
.popup_close:hover{
    background-color: rgba(140, 140, 140, 0.3);
}
._i{
    width: 18px;
    height: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    fill: currentColor;
}
.footer>button{
    float: right;
}
.on>div:last-child{
    transform: translate(-50%, -50%);
}
.on>div{
    opacity: 1;
}
